//
//  MantisSystemTableViewCell.m
//  NLProjectFrameworkDemo
//
//  Created by iosdeveloper on 2020/4/29.
//  Copyright © 2020 yj_zhang. All rights reserved.
//

#import "MantisSystemTableViewCell.h"

@implementation MantisSystemTableViewCell
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self=[super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.backgroundColor =[UIColor clearColor];
        self.selectionStyle=0;
        [self initView];
    }
    return self;
}
-(void)initView{
    
    UILabel*sysTemLabel  =[UILabel new];
    self.sysTemLabel=sysTemLabel;
    sysTemLabel.numberOfLines=0;
    sysTemLabel.font =KIMFontRegularSize(14);
    sysTemLabel.textColor=[UIColor jk_colorWithHexString:@"#C9D1D4"];
    sysTemLabel.textAlignment=NSTextAlignmentCenter;
    [self.contentView addSubview:sysTemLabel];
    [sysTemLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.equalTo(self);

    }];
    
  
}

-(void)reloadCellModel:(MantisCellBaseModel *)data{
   [super reloadCellModel:data];
    
    MantisSystemModel*sysModel=(MantisSystemModel*)data;
    self.sysTemLabel.text=sysModel.historyModel.msg;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
